package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.dto.MemberConfigListDto;
import com.ttg.model.pojo.VipGradeConfig;
import com.ttg.model.vo.open.VipEquityVO;

import java.util.List;
import java.util.Set;


/**
 * @author zhangHongYuan
 * @description
 * @date 2023/6/8 11:19
 */
public interface VipGradeConfigDao extends IService<VipGradeConfig> {
   List<VipGradeConfig> getMemberConfigList(MemberConfigListDto dto);

   VipGradeConfig getMemberConfigByGrade(String grade);

    VipGradeConfig queryVipGradeDetail(Double vipGrade,Integer gradeType);

    List<VipGradeConfig> getVipGradeNameList(Integer gradeType);

    List<VipGradeConfig> getVipGradeByType(Integer gradeType);

    List<VipGradeConfig> getVipGradeByTypeForEdit(Integer gradeType);

    void sumBindTags(Set<Integer> configIds);

    String getVipNewGradeByVipId(String id);
    String getMctNewGradeByVipId(String id);

}
